package edu.zhku.ttms.domain;

/**
 * @author 泽
 * @since 2021/4/18 22:14
 */

public class TrafficPoliceman {

    /**
     * 交警ID
     */
    private Long policeId;

    /**
     * 交警代号
     */
    private String policeCode;

    /**
     * 姓名
     */
    private String name;

    /**
     * 所属分局
     */
    private String branch;

    /**
     * 逻辑删除（0：默认，未删除 1：已删除）
     */
    private Integer isDeleted;

    public TrafficPoliceman() {}

    public TrafficPoliceman(Long policeId, String policeCode, String name, String branch, Integer isDeleted) {
        this.policeId = policeId;
        this.policeCode = policeCode;
        this.name = name;
        this.branch = branch;
        this.isDeleted = isDeleted;
    }

    public TrafficPoliceman(String policeCode, String name, String branch) {
        this.policeCode = policeCode;
        this.name = name;
        this.branch = branch;
    }

    public Long getPoliceId() {
        return policeId;
    }

    public void setPoliceId(Long policeId) {
        this.policeId = policeId;
    }

    public String getPoliceCode() {
        return policeCode;
    }

    public void setPoliceCode(String policeCode) {
        this.policeCode = policeCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "TrafficPoliceman{" +
                "policeId=" + policeId +
                ", policeCode='" + policeCode + '\'' +
                ", name='" + name + '\'' +
                ", branch='" + branch + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
